All Questions
Tagged with arduinoserial-port
13 questions
5votes
1answer
194views
Memory-optimizing arduino code to be able to print all files from SD card
I started an Arduino project that could execute instructions from an SD card file on the screen. I managed to do it, but another problem appeared: I can't print all the files from the SD card to the ...
2votes
1answer
166views
Feedback on Traffic Light which revolves around Serial Communication
Assignment description I'd like to receive feedback on an assignment which I'm currently working on. I have to make two traffic lights which allow traffic to run smoothly. I'm using a master Arduino ...
2votes
1answer
281views
Arduino Create and send data to Serial Port (Software Serial function)
I have this code written and functioning that will write out the chars in cmd to a serial port for an input of two int values. As the majority of the byte values ...
4votes
1answer
776views
4x4 Matrix Keypad on Arduino UNO
I recently bought a 4x4 keypad. It is one like this: http://www.learningaboutelectronics.com/images/4x4-matrix-keypad-pinout.png Now every code I found on the net was either using a highly overloaded ...
1vote
1answer
13kviews
Read and write data to/from Serial Port in C#
I am building a console application which will be scheduled in Task Scheduler of Windows to run my code every day at a set hour. Summing up, this application will read and write through serial port. ...
4votes
2answers
2kviews
Handle data sent back over serial by Arduino
I have a machine that is being controlled by an Arduino. If I send the machine the command '9' it will send back JSON with some sensor temperatures in the format ...
4votes
0answers
221views
Atmega328 watchdog, sleep and external interrupts
I have a customised Arduino board that will be connected to a battery and never power reset (it needs to be very reliable and cope with code hangs). The board will always be put to sleep when not in ...
2votes
0answers
272views
Fetching a weather report on an Arduino from a web service
I'm writing some code which is basically supposed to http get some information from my own website and parse it, which (finally) works. However, when I compile the code, it shows this: Sketch uses ...
2votes
1answer
270views
Arduino serial data input output
I have created an Arduino sketch that I am using to send and receive data via serial. It works pretty well and doesn't seem go wrong as long as the correct formats are received. Is there anything I ...
4votes
1answer
2kviews
Controlling motors using USB serial connection from Raspberry Pi to Arduino
I am working on building an RC car/robot with Raspberry Pi and Arduino. I connected Arduino to Raspberry Pi using USB and send serial commands with python. I haven't done much programming with ...
5votes
1answer
180views
Writing a class to hold Arduino Properties for an Arduino I2C Debugger
I have this class which mostly holds a bunch of properties and their setters. I also have wrappers for some functions of another module. Here is the class: ...
11votes
1answer
2kviews
Door-opener program
I've been working on a little project on an Arduino and I need some help with making the code more efficient / cleaner. I really don't like the three for loops and ...
3votes
1answer
165views
Servo commands based on serial port input
Straight to the point: Can you give me pointers on how to make this code more maintainable? In the future, I want to add more more things to this, but first it should be easy to maintain/read. Should ...